package snooker.scoreboard.button;

import snooker.scoreboard.action.IInfoActionListener;
import android.content.res.Resources;
import android.widget.ImageView;

public class InfoButton extends AbstractControlButton {

	private IInfoActionListener action;
	
	public InfoButton(IInfoActionListener action, ImageView v, Resources r, int resource1, int resource2, int resource3) {
		super(v, r, resource1, resource2, resource3);
		this.action = action;
	}

	protected void actionUp() {
		action.showInfo();
	}

}
